package bot;
import org.jibble.pircbot.*;

public class misc extends PircBot {
	
	//Declare generic error strings that will be used more than once
	String[] error ={	"4Error: Only bot administrators can use this command!", 
						"4Error: Only channel operators or above can use this command!"
					};
	
	public String[] help(String message) {
		
		message = message.toLowerCase();
		
		String [] erepublik ={
				"10Full information: http://wiki.erepublik.com/index.php/eRepBot",
				"10!lookup/!lp [erep name] Shows basic citizen information",
				"10!fc [erep name] Shows a citizen's influence per hit",
				"10!fights [erep name] Shows how many fights a citizen has left until next rank. (Approximate)",
				"10!dmg -r [rank number] [erep name] Shows how much damage a citizen has left until the rank entered.",
				"10!link [erep name] Shows profile and donate links for a citizen",
				"10!register [erep name] Links your IRC name to the eRepublik name. Allows you to use commands without entering your name.",
				
		};
		String[] bot ={
				"10Full information: http://wiki.erepublik.com/index.php/eRepBot",
				"10!join [chan] [password] Makes bot join your room while it is still logged in.",
				"10!stay [chan] [password] Adds your channel to autjoin list. Must be channel owner to use.",
				"10!mass Pings all users within the channel. Must be op or above to use. Will show message entered after !mass on new line."
		};
		
		String[] other ={
				"10Full information: http://wiki.erepublik.com/index.php/eRepBot",
				"Use 10!help bot for a list of bot specific commands",
				"Use 10!help erepublik for a list of erepublik specific commands",
				"Visit 10#eRepBot and bug Mantle or Count_Drakula for more help"
		};
		
		if (message.equals("bot")){
			return bot;
		} else if (message.equals("erepublik")) {
			return erepublik;
		} else {
			return other;
		}
		
	}
}